Returns or sets a value that specifies the style of border drawn between the rows of the selected DataGrid control.
Syntax
object.RowDividerStyle [= value]
The RowDividerStyle property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | An integer that specifies the border style, as described in Settings. |
Settings
The settings for value are:
Setting | Description |
0 | No divider |
1 | Black line |
2 | (Default) Dark gray line |
3 | Raised |
4 | Inset |
5 | Divider is drawn using the ForeColor property setting color |
Remarks
The RowDividerStyle property doesn't affect whether the border can be dragged or not. When the border is raised or inset, Microsoft Windows sets the colors.